<?php if (!defined('THINK_PATH')) exit();?><!doctype html>
<html class="no-js">
<head>
  <meta charset="utf-8">
  <meta http-equiv="X-UA-Compatible" content="IE=edge">
  <title><?php echo ($title); ?></title>
  <meta name="description" content="这是一个 help 页面">
  <meta name="keywords" content="help">
  <meta name="renderer" content="webkit">
  <meta http-equiv="Cache-Control" content="no-siteapp" /> 
  <meta name="apple-mobile-web-app-title" content="Amaze UI" />
  <link rel="stylesheet" type="text/css" href="/zhixin/Public/assets/css/amazeui.min.css" />
  <link rel="stylesheet" type="text/css" href="/zhixin/Public/assets/css/admin.css" />
  <script type="text/javascript" src="/zhixin/Public/assets/js/jquery.min.js"></script>
   <script type="text/javascript" src="/zhixin/Public/assets/js/amazeui.min.js"></script>
</head>
<body>
<header class="am-topbar am-topbar-inverse admin-header">
  <div class="am-topbar-brand">
    <strong>河南志信科技有限公司——</strong> <small>出差管理系统</small>
  </div>
  <button class="am-topbar-btn am-topbar-toggle am-btn am-btn-sm am-btn-success am-show-sm-only" data-am-collapse="{target: '#topbar-collapse'}"><span class="am-sr-only">导航切换</span> <span class="am-icon-bars"></span></button>
  <div class="am-collapse am-topbar-collapse" id="topbar-collapse">
    <ul class="am-nav am-nav-pills am-topbar-nav am-topbar-right admin-header-list">   
    <?php if(empty($_SESSION['name'])): ?><li><a href="<?php echo U('Member/login');?>"><span class="am-icon-user"></span> 登录</a></li>
         <!--  <li><a href="<?php echo U('Member/reg');?>"><span class="am-icon-pencil"></span> 注册</a></li>  --> 
    <?php else: ?>
     <li><a href="<?php echo U('Member/login');?>"><span class="am-icon-user"></span>  欢迎您：<?php echo (session('name')); ?></a></li>
          <li><a href="<?php echo U('Member/logout');?>"><span class="am-icon-sign-out"></span>注销</a></li><?php endif; ?>                                    
    </ul>
  </div>
</header>

<div class="am-cf admin-main">
  <!-- sidebar start -->
  <div class="admin-sidebar am-offcanvas am-dh">
    <div class="am-offcanvas-bar admin-offcanvas-bar">
      <ul class="am-list admin-sidebar-list">
       <li><a href="<?php echo U('index/view');?>"><span class="am-icon-home"></span> 博客首页</a></li>
       <li><a href="<?php echo U('Articletype/view');?>"><span class="am-icon-navicon"></span> 博客分类</a></li>
       <li><a href="<?php echo U('Article/view');?>"><span class="am-icon-file"></span> 博客文章</a></li>
       <li><a href="<?php echo U('Master/view');?>"><span class="am-icon-user"></span> 博主基本资料</a></li>
       <li><a href="<?php echo U('Photo/view');?>"><span class="am-icon-camera"></span> 博客相册</a></li> 
       <li><a href="<?php echo U('Friend/view');?>"><span class="am-icon-users"></span> 博客朋友</a></li>
       <li><a href="<?php echo U('Runtime/view');?>"><span class="am-icon-close"></span> 清理缓存</a></li>                                                   
      </ul>
       <div class="am-panel am-panel-default admin-sidebar-panel">
        <div class="am-panel-bd">
          <p><span class="am-icon-bookmark"></span> 公告</p>
          <p>时光静好，与君语；细水流年，与君同。—— 小草</p>
        </div>
      </div>

      <div class="am-panel am-panel-default admin-sidebar-panel">
        <div class="am-panel-bd">
          <p><span class="am-icon-tag"></span> wiki</p>
          <p>Welcome to the 河南志信管理系统</p>
        </div>
      </div>   
    </div>
  </div>
  <!-- sidebar end -->

  <!-- content start -->
  <div class="admin-content">
  
    <div class="admin-content-body">
      <div class="am-cf am-padding am-padding-bottom-0">
        <div class="am-fl am-cf">
          <strong class="am-text-primary am-text-lg">博客首页展示</strong> /
          <small>bloghomeisplay</small>
        </div>
      </div>
      <hr/>

     
  <ul class="am-avg-sm-1 am-avg-md-4 am-margin am-padding am-text-center admin-content-list ">
        <li><a href="#" class="am-text-success"><span class="am-icon-btn am-icon-file-text"></span><br/>文章<br/>
        <?php if(!empty($articlecount)): echo ($articlecount); ?>
       <?php else: ?>
        0<?php endif; ?>
        
        </a></li>
        
        <li><a href="#" class="am-text-warning"><span class="am-icon-btn am-icon-briefcase"></span><br/>相册<br/>
       <?php if(!empty($photocount)): echo ($photocount); ?>
       <?php else: ?>
        0<?php endif; ?>
        </a></li>
        <li><a href="#" class="am-text-danger"><span class="am-icon-btn am-icon-recycle"></span><br/>朋友<br/>
        <?php if(!empty($friendcount)): echo ($friendcount); ?>
       <?php else: ?>
        0<?php endif; ?>
        </a></li>
        <li><a href="#" class="am-text-secondary"><span class="am-icon-btn am-icon-user-md"></span><br/>评论<br/>
         <?php if(!empty($reviewcount)): echo ($reviewcount); ?>
         <?php else: ?>
        0<?php endif; ?>
        </a></li>
      </ul>
  
  
    <div class="am-g">
       
        <div class="am-u-md-12">        
          <div class="am-panel am-panel-default">
            <div class="am-panel-hd am-cf" data-am-collapse="{target: '#collapse-panel-3'}">最近评论<span class="am-icon-chevron-down am-fr" ></span></div>
            <div class="am-panel-bd am-collapse am-in am-cf" id="collapse-panel-3">
              <ul class="am-comments-list admin-content-comment">             
               <?php if(is_array($reviewlist)): $i = 0; $__LIST__ = $reviewlist;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$vo): $mod = ($i % 2 );++$i;?><li class="am-comment">   
					  <div class="am-comment-main" style="width:100%; margin:0 auto;">
					    <header class="am-comment-hd">	
					      <div class="am-comment-meta">
					        <a href="#link-to-user" class="am-comment-author"><?php echo ($vo["review_author"]); ?></a>
					        评论于 <time datetime="2013-07-27T04:54:29-07:00" title=""><?php echo ($vo["pl_time"]); ?></time>
					      </div>
					    </header>			
					    <div class="am-comment-bd">
					    <?php echo (htmlspecialchars_decode($vo["review_content"])); ?>
					    </div>
					  </div>
				  </li><?php endforeach; endif; else: echo "" ;endif; ?>	                
              </ul>            
            </div>
          </div>
        </div>
        
        
        </div>
        
        
      

   



 </div>
    <footer class="admin-content-footer">
      <hr>
      <p class="am-padding-left">© 2014 AllMobilize, Inc. Licensed under MIT license.</p>
    </footer>
  </div>
  <!-- content end -->



</div>



</body>
</html>